<%--
  Created by IntelliJ IDEA.
  User: WT-SUN
  Date: 2017/4/24
  Time: 13:26
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="accessory" uri="http://accessoryPackageTag.weitu.net" %>
<!doctype html>
<html>
<head>
    <title>新增职业病台账</title>
    <%@include file="/common/header.jspf" %>
    <script type="text/javascript" src="${ctx}/resources/js/occupationalHealth/account/add.js"></script>
</head>
<body>
<div class="menu-right" style="width:80px;">
    <a id="btn_save" href="javascript:void(0)" class="easyui-linkbutton" iconCls="fa fa-save fa-lg">保存</a>
</div>
<form id="formAccount" method="POST">
    <div class="information">
        <div class="information-title">
            <p>基本信息</p>
            <a href="#"><img src="${ctx}/resources/themes/images/alias_03.png" width="18"></a>
        </div>
        <div class="cuttle">
            <div style="clear: both">
                <div class="form_one" >
                    <label class="lable-style">姓名:</label>
                    <input id="userId" name="userId" class="easyui-textbox" editable="false" required="true" validType="validSelect" style="width: 240px;">
                    <span>*</span>
                </div>
                <div class="form_one">
                    <label class="lable-style">工号:</label>
                    <input class="easyui-textbox" type="text" id="gonghao" data-options="readonly:true" style="width: 240px;">
                </div>
                <div class="form_one">
                    <label class="lable-style">出生日期:</label>
                    <input class="easyui-textbox" type="text" id="chusheng" data-options="readonly:true" style="width: 240px;">
                </div>
            </div>
            <div style="clear: both">
                <div class="form_one">
                    <label class="lable-style">单位名称:</label>
                    <input id="danwei" type="text" class="easyui-textbox" data-options="readonly:true"  style="width: 240px;">
                </div>
                <div class="form_one">
                    <label class="lable-style">岗位:</label>
                    <input id="gangwei" type="text" class="easyui-textbox" data-options="readonly:true"  style="width: 240px;">
                </div>
                <div class="form_one">
                    <label class="lable-style">性别:</label>
                    <input id="xingbie" type="text" class="easyui-textbox"  data-options="readonly:true" style="width: 240px;">
                </div>
            </div>
            <div style="clear: both">
                <div class="form_one" >
                    <label class="lable-style">职业病名称:</label><%--editable="false"--%>
                    <input id="diseasesNameId" name="diseasesNameId" class="easyui-textbox" editable="false"  required="true" validType="validSelect" style="width: 240px;">
                    <span>*</span>
                </div>
                <div class="form_one">
                    <label class="lable-style">职业病类别:</label>
                    <input id="leibie" type="text" class="easyui-textbox"  data-options="readonly:true" style="width: 240px;">
                </div>
                <div class="form_one">
                    <label class="lable-style">严重程度:</label>
                    <input name="mainSymptom" type="text"  class="easyui-textbox" style="width: 240px;" >
                </div>
            </div>
            <div class="district-wrap" style="clear: both">
                <div class="form_one">
                    <label class="lable-style">诊断单位:</label><%--data-options="required:true"--%>
                    <input class="easyui-textbox" type="text" id="serviceId" name="serviceId" editable="false"   style="width:240px;">
                </div>
                <div class="form_one">
                    <label class="lable-style">开始接触危害因素时间:</label>
                    <input class="easyui-datebox" style="width: 240px;" data-options="editable:false"  name="startDate">
                </div>
                <div class="form_one">
                    <label class="lable-style">工龄:</label>
                    <input class="easyui-textbox" style="width: 240px;"  name="workYears">
                </div>
            </div>
            <div class="district-wrap" style="clear: both">
                <div class="form_one">
                    <label class="lable-style">是否有诊断证明:</label><%--data-options="required:true"--%>
                    <input type="text" id="isDiagnosis" name="isDiagnosis" data-options="required:true"  style="width:240px;">
                    <span>*</span>
                </div>
                <div class="form_one">
                    <label class="lable-style">状态:</label>
                    <input style="width: 240px;" data-options="required:true"   id="stateZd" name="stateZd">
                    <span>*</span>
                </div>
                <div class="form_one">
                    <label class="lable-style">转归分类:</label>
                    <input  style="width: 240px;" data-options="required:true"   id="zgType" name="zgType">
                    <span>*</span>
                </div>
            </div>
            <div class="district-wrap" style="clear: both">
                <div class="form_one">
                    <label class="lable-style">是否初次鉴定:</label><%--data-options="required:true"--%>
                    <input type="text" id="isAppraisal" name="isAppraisal" style="width:240px;">
                </div>
                <div class="form_one">
                    <label class="lable-style">诊断日期:</label>
                    <input class="easyui-datebox" style="width: 240px;" data-options="required:true,editable:false"  name="diagnosisDate">
                    <span>*</span>
                </div>
            </div>
            <div style="clear: both">
                <div class="form_one" style="width: 720px;height: 60px">
                    <label class="lable-style">转归情况:</label>
                    <input name="zgSituation" type="text" class="easyui-textbox" data-options="multiline:true,required:true"
                           style="width: 600px;height: 55px"/>
                    <span>*</span>
                </div>
            </div>
        </div>
    </div>
    <div class="information" id="zdFile" style="display: block">
        <div class="information-title">
            <p>诊断证明文件</p>
            <a href="#"><img src="${ctx}/resources/themes/images/alias_03.png" width="18"></a>
        </div>
        <accessory:accessorySimple permission="write" packageKey="accountpage" uploadUserId="${loginUser.id}"
                                   accessoryType="txt,docx,doc,xls,xlsx,jpg,png"></accessory:accessorySimple>
    </div>
</form>
</body>
</html>

